package com.google.appengine.syncserver.endpoint; 

import javax.jdo.annotations.Index;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class DeviceInfo {

  @Id
  private String deviceRegistrationID;

  private String initialDeviceRegistrationID;

  @Index
  private String username;

  public String getDeviceRegistrationID() {
    return deviceRegistrationID;
  }

  public String getUsername() {
    return this.username;
  }

  public String getInitialDeviceRegistrationID() {
    return initialDeviceRegistrationID;
  }

  public void setDeviceRegistrationID(String deviceRegistrationID) {
    this.deviceRegistrationID = deviceRegistrationID;
  }

  public void setInitialDeviceRegistrationID(String initialDeviceRegistrationID) {
    this.initialDeviceRegistrationID = initialDeviceRegistrationID;
  }

  public void setUsername(String username) {
    this.username = username;
  }
}